﻿@{
    ViewBag.Title = "Home Page";

}
@section header{
    <script type="text/javascript">
        $(document).ready(function () {
            var pager = $('#dg').datagrid('getPager'); // get the pager of datagrid
            pager.pagination({ showPageList: false });

        });

    </script>
}
<div id="tb" style="padding: 5px; height: auto">
    <div style="margin-bottom: 5px">
        <a href="#" class="easyui-linkbutton" iconcls="icon-add" plain="true"></a><a href="#"
            class="easyui-linkbutton" iconcls="icon-edit" plain="true"></a><a href="#" class="easyui-linkbutton"
                iconcls="icon-remove" plain="true"></a>
    </div>
    <div>
        卡号:
        <input class="" style="width: 80px">
        姓名：<input type="text" style="width: 80px;" />
        <a href="#" class="easyui-linkbutton" iconcls="icon-search">Search</a>
    </div>
</div>
<table id="dg" class="easyui-datagrid" title="会员信息列表" width="100%"
     data-options="rownumbers:true,singleSelect:true,pagination:true" toolbar="#tb">
    <thead>
        <tr>
            <th field="name1" data-options="width:100">
                卡号
            </th>
            <th field="name2" data-options="width:100">
                姓名
            </th>
            <th  field="name3" data-options="width:100">
                手机号
            </th>
            <th field="name4" data-options="width:100">
                余额
            </th>
            <th field="name5" data-options="width:100">
                打折
            </th>
            <th field="name6" data-options="width:200">
                备注
            </th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                dfdf
            </td>
            <td>
                dfdf
            </td>
            <td>
                aaa
            </td>
            <td>
                dfdf
            </td>
            <td>
                dfdfdf
            </td>
            <td>
                dfdf
            </td>
        </tr>
        <tr>
            <td>
                dfdf
            </td>
            <td>
                dfdf
            </td>
            <td>
                aaa
            </td>
            <td>
                dfdf
            </td>
            <td>
                dfdfdf
            </td>
            <td>
                dfdf
            </td>
        </tr>
    </tbody>
</table>
